package cn.isjinhao.crws.sql.grammar.retrieve;

import cn.isjinhao.crws.sql.grammar.CurdStatementVisitor;
import cn.isjinhao.crws.sql.grammar.AssignmentList;
import cn.isjinhao.crws.sql.grammar.create.represention.Insert;
import cn.isjinhao.crws.sql.grammar.create.represention.InsertSetRep;
import cn.isjinhao.crws.sql.grammar.create.represention.OnDuplicateKey;
import cn.isjinhao.crws.sql.grammar.create.represention.ValuesRep;

/**
 * @Author ISJINHAO
 * @Date 2021/4/5 20:52
 */
public abstract class SelectVisitor<R> implements CurdStatementVisitor<R> {

    @Override
    public final R visitValuesRep(ValuesRep valuesRep) {
        throw new UnsupportedOperationException();
    }

    @Override
    public final R visitInsert(Insert insert) {
        throw new UnsupportedOperationException();
    }

    @Override
    public final R visitSetRep(InsertSetRep insertSetRep) {
        throw new UnsupportedOperationException();
    }

    @Override
    public final R visitEntryList(AssignmentList assignmentList) {
        throw new UnsupportedOperationException();
    }

    @Override
    public final R visitOnDuplicateKey(OnDuplicateKey onDuplicateKey) {
        throw new UnsupportedOperationException();
    }
}
